﻿// ***********************************************************************
// Assembly         : ELS
// Author           : linhvn
// Created          : 10-20-2012
//
// Last Modified By : linhvn
// Last Modified On : 10-22-2012
// ***********************************************************************
// <copyright file="MdiChildForm.cs" company="">
//     Copyright (c) . All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
using System.Windows.Forms;

namespace ELS
{
    /// <summary>
    /// Class MdiChildForm
    /// </summary>
    public partial class MdiChildForm : Form
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MdiChildForm" /> class.
        /// </summary>
        public MdiChildForm()
        {
            InitializeComponent();
            this.Load += new System.EventHandler(this.MdiChildForm_Load);
        }

        /// <summary>
        /// Handles the Load event of the MdiChildForm control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
        private void MdiChildForm_Load(object sender, EventArgs e)
        {
            this.ControlBox = false;
            this.WindowState = FormWindowState.Maximized;
            this.BringToFront();
        }
    }
}
